package com.ffggffgfv.backend.entity;

import java.util.Date;

/**
 * 管理员实体类
 */
public class Admin {

    private Long id;              // 主键ID
    private String username;      // 用户名
    private String password;      // 密码
    private String avatarUrl;     // 管理员头像URL地址
    private Integer status;       // 状态（0-停用 1-启用）
    private Date createTime;      // 创建时间
    private Date updateTime;      // 更新时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
